package cocom.iplatform.piaoerbai.dao;
import cocom.iplatform.piaoerbai.bean.MenuBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @className: menuDao
 * @description: TODO 类描述
 * @author: chensk
 * @date: 2020/12/3
 **/


@Mapper
public interface MenuDao {

   List<MenuBean> selectAllMenu();

   List<MenuBean> selectChildByParentId(int parentId);

    int insert(MenuBean menuBean);
    int update(MenuBean menuBean);

    void deleteById(Integer id);
}
